package com.insmess.meeting.sdk.dto;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 会议聊天
 *
 * @author xujq
 * @date 2024-04-27 18:54:16
 */
public class ImRoomChat {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;
    /**
     * 发送人名字
     */
    private String sendRealname;
    /**
     * 发送人用户名
     */
    private String sendUsername;
    /**
     * 接收人名字
     */
    private String receiveRealname;
    /**
     * 接收人用户用户名
     */
    private String receiveUsername;
    /**
     * 发送类别 0文字 1图片 2文件
     */
    private String sendType;
    /**
     * 消息内容
     */
    private String message;
    /**
     * 发送时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSendRealname() {
        return sendRealname;
    }

    public void setSendRealname(String sendRealname) {
        this.sendRealname = sendRealname;
    }

    public String getSendUsername() {
        return sendUsername;
    }

    public void setSendUsername(String sendUsername) {
        this.sendUsername = sendUsername;
    }

    public String getReceiveRealname() {
        return receiveRealname;
    }

    public void setReceiveRealname(String receiveRealname) {
        this.receiveRealname = receiveRealname;
    }

    public String getReceiveUsername() {
        return receiveUsername;
    }

    public void setReceiveUsername(String receiveUsername) {
        this.receiveUsername = receiveUsername;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }
}
